home *** CD-ROM | disk | FTP | other *** search
- /** * * * * * * * * * * * * * * * * * * * * * * * * *
- * *
- * User Interface Script - generated by UI Editor *
- * *
- * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
- //------ Key declarations --------------------------
- !LoadIncluded(s)
- !Included()
- !Interface(s)
- !Window(s,s,s)
- !Static(s,s,s)
- !ControlObject(s,s,s)
- !Button(s,s,s,s)
- !Edit(s,s,s,s)
- !Menu(s,s,s)
- !Id(s)
- !LogicSize(f,f)
- !LogicPos(f,f)
- !Mouse(i)
- !Keyboard(i)
- !Joy(i)
- !Visible(i)
- !Texture(s)
- !TextureRect(s,f,f,f,f,f,f)
- !EditTexture(s)
- !FrameCornerSize(i,i)
- !Cursor(s)
- !CursorVisible(i)
- !EditBorderWidth(f)
- !EditBorderSens(f)
- !EditState(i)
- !EditCursorSize(s)
- !EditStateOnInit(i)
- !EditCursorMove(s)
- !Text(s)
- !TextColor(f,f,f)
- !TextPosFlags(i)
- !Font(s)
- !Command(i)
- !Notify(i)
- !SelKeyUp(i)
- !SelKeyDown(i)
- !FocusSound(s)
- !TextureHightlight(s)
- !TextureHightlightRect(s,f,f,f,f,f,f)
- !TextHighLightColor(f,f,f)
- !CanFocus(i)
- !TextureChecked(s)
- !TextureCheckedRect(s,f,f,f,f,f,f)
- !TextureDisabled(s)
- !TextureDisabledRect(s,f,f,f,f,f,f)
- !TextureHightlightCheck(s)
- !TextureHightlightCheckRect(s,f,f,f,f,f,f)
- !TextDisableColor(f,f,f)
- !TextCheckedColor(f,f,f)
- !TextHighLightCheckColor(f,f,f)
- !Checked(i)
- !Disabled(i)
- !CanCallPress(i)
- !CanCheck(i)
- !CallPressPeriod(f)
- !DoubleClick(f)
- !MouseLeaveDestroyFocus(i)
- !CheckSound(s)
- !MenuButton(s,s,s,s,s)
- !TextureEdit(s)
- !TextEditColor(f,f,f)
- !ParentPositioning(i)
- !ParentCenteringX(i)
- !ParentCenteringY(i)
- !ListBoxCapacity(i)
-
- //------ UI stuff -----------------------------
- Interface("UI_PATTERNS")
- {
- Command(1)
- Notify(1)
- CanFocus(1)
- SelKeyUp(-1)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(1.0,1.0)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- Cursor("data/interface/c_arrow.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- ControlObject("UIListBox","ID_LISTBOX","Specific")
- {
- ListBoxCapacity(3)
- Command(1)
- Notify(1)
- CanFocus(1)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.4,0.3)
- LogicPos(0.1,0.1)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- Texture("red")
- Cursor("data/interface/c_arrow.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- Menu("UIMenu","ID_LIST","Specific")
- {
- Command(1)
- Notify(1)
- CanFocus(1)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.36,0.3)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(1)
- Texture("data/interface/er_t_white.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- MenuButton("UIMenuButton","ID_BUTTON","","Standard","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- TextCheckedColor(1.0,1.0,1.0)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(0)
- CanFocus(1)
- TextHighLightColor(1.0,1.0,1.0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.36,0.1)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(0)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- Texture("er_t_blue.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- }
- ControlObject("UIControlObject","ID_SCROLL","Specific")
- {
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.04,0.3)
- LogicPos(0.9,0.0)
- Mouse(1)
- Keyboard(0)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(1)
- Texture("er_t_green.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- Button("UIButton","ID_UP","","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.04,0.053333335)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(0)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- Texture("er_t_yellow.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- Button("UIButton","ID_THUMB","","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.04,0.053333335)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(0)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- Texture("er_t_yellow.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- Button("UIButton","ID_DOWN","","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.04,0.053333335)
- LogicPos(0.0,0.82222223)
- Mouse(1)
- Keyboard(0)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- Texture("er_t_yellow.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- }
- }
- ControlObject("UIComboBox","ID_COMBOBOX","Specific")
- {
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.405,0.053333335)
- LogicPos(0.09875,0.5083333)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- Texture("er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- Button("UIButton","ID_COMBO_TRIGGER","","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.04,0.053333335)
- LogicPos(0.90123457,0.0)
- Mouse(1)
- Keyboard(0)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- Texture("er_t_yellow.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- Static("UIStatic","ID_COMBO_TEXT","Specific")
- {
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.405,0.053333335)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(0)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- Texture("er_t_blue.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- }
- ControlObject("UIListBox","ID_COMBO_LIST","Specific")
- {
- ListBoxCapacity(1)
- Command(1)
- Notify(1)
- CanFocus(1)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.31625,0.1)
- LogicPos(0.2191358,0.0)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(0)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- Texture("red")
- Cursor("data/interface/c_arrow.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- Menu("UIMenu","ID_LIST","Specific")
- {
- Command(1)
- Notify(1)
- CanFocus(1)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.31625,0.1)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(1)
- Texture("data/interface/er_t_white.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- MenuButton("UIMenuButton","ID_BUTTON","","Standard","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- TextCheckedColor(1.0,1.0,1.0)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(0)
- CanFocus(1)
- TextureHightlight("er_t_green.png")
- TextHighLightColor(1.0,1.0,1.0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.31625,0.1)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(0)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- Texture("er_t_blue.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- }
- ControlObject("UIControlObject","ID_SCROLL","Specific")
- {
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.04,0.1)
- LogicPos(1.0,0.0)
- Mouse(1)
- Keyboard(0)
- Joy(0)
- Visible(0)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(1)
- Texture("er_t_green.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- Button("UIButton","ID_UP","","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.04,0.053333335)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(0)
- Joy(0)
- Visible(0)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- Texture("er_t_yellow.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- Button("UIButton","ID_THUMB","","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.04,0.053333335)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(0)
- Joy(0)
- Visible(0)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- Texture("er_t_yellow.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- Button("UIButton","ID_DOWN","","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.04,0.053333335)
- LogicPos(0.0,0.46666667)
- Mouse(1)
- Keyboard(0)
- Joy(0)
- Visible(0)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(1)
- ParentCenteringY(0)
- Texture("er_t_yellow.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- }
- }
- }
- ControlObject("UISlider","ID_SLIDER","Specific")
- {
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.4125,0.053333335)
- LogicPos(0.1,0.7)
- Mouse(1)
- Keyboard(0)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- EditTexture("er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- Button("UIButton","ID_THUMB","","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- TextureChecked("er_t_Red.png")
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif10")
- TextPosFlags(34)
- LogicSize(0.04,0.053333335)
- LogicPos(0.0,0.0)
- Mouse(1)
- Keyboard(0)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(1)
- Texture("er_t_blue.png")
- EditTexture("er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- CheckSound("data/sounds/click")
- FocusSound("data/sounds/highlight")
- }
- Window("UIWindow","ID_BKG","Specific")
- {
- LogicSize(0.4125,0.053333335)
- LogicPos(0.0,0.0)
- Mouse(0)
- Keyboard(0)
- Joy(0)
- Visible(1)
- CursorVisible(1)
- ParentPositioning(1)
- ParentCenteringX(0)
- ParentCenteringY(0)
- Texture("er_t_Yellow.png")
- EditTexture("er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(15.0)
- EditCursorSize("data/interface/c_resize.png")
- EditCursorMove("data/interface/c_move.png")
- }
- }
- }
-